<%@ page contentType="text/html; charset=gb2312" errorPage="/errorpage.jsp" %>
<%@ page import="mfkvit.*, java.util.*, java.sql.*" %>

<link rel="stylesheet" type="text/css" href="css.css">
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td align="center"><table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><table width="100%" height="25" border="0" cellpadding="2" cellspacing="2">
            <tr>
              <td width="7%">&nbsp;</td>
              <td width="93%" align="right"><a href="index.jsp"><img src="images/over_03.gif" alt="home" width="57" height="10" border="0" /></a> <a href="contactus.jsp"><img src="images/over_04.gif" alt="contact us" width="77" height="10" border="0" /></a></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="223" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="center"><img src="images/over_08.gif" width="192" height="45" alt="logo" /></td>
                  </tr>
              </table></td>
              <td><a href="index.jsp"><img src="images/active_10.gif" alt="index" width="90" height="45" border="0" /></a></td>
              <td><a href="about.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/active_11.gif',1)"><img src="images/over_11.gif" name="Image5" width="90" height="45" border="0" id="Image5" /></a></td>
              <td><a href="new.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/active_12.gif',1)"><img src="images/over_12.gif" name="Image6" width="90" height="45" border="0" id="Image6" /></a></td>
              <td><a href="prcenter.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/active_13.gif',1)"><img src="images/over_13.gif" name="Image7" width="90" height="45" border="0" id="Image7" /></a></td>
              <td><a href="liuyan.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images/active_14.gif',1)"><img src="images/over_14.gif" name="Image8" width="90" height="45" border="0" id="Image8" /></a></td>
              <td><a href="contactus.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','images/active_15.gif',1)"><img src="/basic/images/over_15.gif" name="Image9" width="87" height="45" border="0" id="Image9" /></a></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td> <%
  request.setCharacterEncoding("gb2312");
    try{
      JdbcBean dbutil = new JdbcBean();
      String condition="select * from webDes";  
	int rowcount = dbutil.execQueryName(condition);
    ArrayList al = dbutil.getRS();
    for(int i=0;i<rowcount;i++){
      HashMap colValue = (HashMap)al.get(i);  
	  String img=(String)colValue.get("loginimg");
	  
    %>

          <img name="" src="<%=img%>" width="760" height="183" alt="">          <% } %>
<%} catch (Exception ex) {ex.printStackTrace();} %>				</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>

    </table></td>
  </tr>
</table>
